﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:ConsoleHoster.View.Controls" x:Class="ConsoleHoster.View.Popups.ColorChooserView"
        Title="Color selector" Height="420" Width="400" Style="{DynamicResource PopupStyle}" WindowStartupLocation="CenterOwner">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Controls:ColorPallettePresenter x:Name="cppColor" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

        <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center" Margin="0, 5, 0, 5">
            <Button x:Name="btnSave" Content="Save" Width="100" Click="btnSave_Click" />
            <Button x:Name="btnCancel" Content="Cancel" Width="100" Margin="3, 0, 0, 0" Click="btnCancel_Click" />
        </StackPanel>
    </Grid>
</Window>
